#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <QKeyEvent>
#include <QStackedLayout>

#include "networkmanager.h"
#include "powermanager.h"

class MainWindow : public QWidget
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
protected:
    void keyPressEvent(QKeyEvent *event) override;

private:
    NetWorkManager *mNetworkManager;
    PowerManager *mPowerManager;
    QStackedLayout *mainLayout;
};
#endif // MAINWINDOW_H
